#ifndef YONGHU_H
#define YONGHU_H

#include <QDialog>
#include <QTcpSocket>
#include <QLabel>
#include "widget.h"

namespace Ui {
class yonghu;
}

class yonghu : public QDialog
{
    Q_OBJECT

public:
    explicit yonghu(QWidget *parent = nullptr);
    ~yonghu();

private slots:
    void on_connect_clicked();

    void on_disconnect_clicked();

    void on_createUser_clicked();

private:
    Ui::yonghu *ui;
    QTcpSocket* m_tcp;
};

#endif // YONGHU_H
